package com.tanger.pay.alipay;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description TODO
 * @Author Hchenbin
 * @Date 2024-01-03 10:16
 * @Version 1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("回调结果对象")
public class NotifyResult {

    @ApiModelProperty("订单号")
    private  String tradeNo;
    @ApiModelProperty("交易金额")
    private double totalAmount;
    @ApiModelProperty("交易名称")
    private String subject;
    @ApiModelProperty("支付宝交易凭证号")
    private String alipayTradeNo;
    @ApiModelProperty("买家在支付宝唯一id")
    private String buyerId;
    @ApiModelProperty("买家付款时间")
    private String payTime;
    @ApiModelProperty("买家付款金额")
    private String payAmount;
    @ApiModelProperty("交易状态")
    private String status;
}
